package st.magnuzon.book.client.console;

import st.magnuzon.book.client.scaffold.ui.ReturnLinkWidget;

import com.google.gwt.http.client.UrlBuilder;
import com.google.gwt.user.client.Window;

public class ReturnLinkWidgetDriver {
	public void setWidget(final ReturnLinkWidget widget) {
		UrlBuilder urlBuilder = Window.Location.createUrlBuilder();
		urlBuilder.setPath("/ApplicationScaffold.html");
		widget.setReturnUrl(urlBuilder.buildString());
	}
}
